import { IPSAppWFDE } from './ipsapp-wfde';
import { IPSAppWFVer } from './ipsapp-wfver';
import { IPSModelObject } from '../../ipsmodel-object';

/**
 *
 * @export
 * @interface IPSAppWF
 */
export interface IPSAppWF extends IPSModelObject {
  /**
   * 代码标识
   * @type {string}
   */
  codeName: string;

  /**
   * 应用工作流实体集合
   *
   * @type {IPSAppWFDE[]}
   */
  getPSAppWFDEs(): IPSAppWFDE[] | null;

  findPSAppWFDE(objKey: any): IPSAppWFDE | null;

  /**
   * 应用工作流版本集合
   *
   * @type {IPSAppWFVer[]}
   */
  getPSAppWFVers(): IPSAppWFVer[] | null;

  findPSAppWFVer(objKey: any): IPSAppWFVer | null;

  /**
   * 有工作流版本
   * @type {boolean}
   */
  hasPSAppWFVer(): boolean | null;
}
